// 基础菜单
const defaultMenus = [
  {
    name: '我的工作台',
    icon: 'easel',
    url: '/'
  }
]
// 管理菜单
const adminMenus = [
  {
    name: '展位管理',
    icon: 'navicon-round',
    url: '/booth'
  },
  {
    name: '订单管理',
    icon: 'shuffle',
    url: '/order'
  },
  {
    name: '客户管理',
    icon: 'person-stalker',
    url: '/customer'
  },{
    name: '员工管理',
    icon: 'person-stalker',
    url: '/staff'
  },{
    name: '系统设置',
    icon: 'settings',
    child: [
      {
        name: '分类设置',
        url: '/system/classify',
        icon: 'grid'
      }, {
        name: '区域设置',
        url: '/system/region',
        icon: 'grid'
      }
    ]
  }
]

// 获取用户菜单
export const menus = role => {
  return [
    ...defaultMenus,
    ...adminMenus
  ]
}

// 用户鉴权
export const auth = role => {
  return 1
}
